package com.cn.springcloudwechat.model;

import org.joda.time.DateTime;

import java.util.Date;

/**
 *
 *疫苗服务站关联关系表model
 */
public class YmStationVaccine {
    /**
     * 主键
     */
    private Long stationVaccineId;
    /**
     * 站点id
     */
    private Long stationId;
    /**
     *  疫苗类型ID
     */
    private Long vaccineTypeId;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 创建时间 Str yyyy-MM-dd
     */
    private String createTimeStr;

    /**
     * 更新时间
     */
    private Date updateTime;
    /**
     * 更新时间 Str yyyy-MM-dd
     */
    private String updateTimeStr;

    public String getCreateTimeStr() {
        return createTimeStr;
    }


    public String getUpdateTimeStr() {
        return updateTimeStr;
    }



    public Long getStationVaccineId() {
        return stationVaccineId;
    }

    public void setStationVaccineId(Long stationVaccineId) {
        this.stationVaccineId = stationVaccineId;
    }

    public Long getStationId() {
        return stationId;
    }

    public void setStationId(Long stationId) {
        this.stationId = stationId;
    }

    public Long getVaccineTypeId() {
        return vaccineTypeId;
    }

    public void setVaccineTypeId(Long vaccineTypeId) {
        this.vaccineTypeId = vaccineTypeId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
        this.createTimeStr=new DateTime(createTime).toString("yyyy-MM-dd");
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
        this.updateTimeStr=new DateTime(updateTime).toString("yyyy-MM-dd");
    }
}